import axios from '../util/http'
//获取
export function getAbnormal(data) {
	return axios({
		method:'post',
		url:`/wechat/sanbao-shifu/getAbnormal`,
		data
	})
}
export function delAbnormal(data) {
	return axios({
		method:'post',
		url:`/wechat/sanbao-shifu/delAbnormal`,
		data
	})
}
export function abnormal(data) {
	return axios({
		method:'post',
		url:`/wechat/sanbao-shifu/abnormal`,
		data
	})
}
export function reservation(data) {
	return axios({
		method:'post',
		url:`/wechat/sanbao-shifu/reservation`,
		data
	})
}
export function completed(data) {
	return axios({
		method:'post',
		url:`/wechat/sanbao-shifu/completed`,
		data
	})
}
//异常详情
export function details(query) {
	return axios({
		method:'get',
		url:`/wechat/sanbao-shifu/abnormal-details`,
		data:query
	})
}